#!/usr/bin/env node
//客户端
const http = require('http');

//let options = url.parse(global.encodeURI(addr));

const x = process.argv[2],
  y = process.argv[3];

const addr = `http://localhost:8080/add?x=${x}&y=${y}`;

http.get(addr,(res)=>{
  
  res.pipe(process.stdout);
});
//文件发送curl请求功能



